home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 126-150 / disk_130 / qman / qman_data.include < prev    next >
Text File  |  1992-05-06  |  2KB  |  58 lines

  1.  
  2. /*- - - - - - - - - - - - - - - - - -*/
  3. /*                                   */
  4. /*    File:  qman_data.include       */
  5. /*                                   */
  6. /*    Contains data declarations     */
  7. /*       for procedure qman          */
  8. /*                                   */   
  9. /*- - - - - - - - - - - - - - - - - -*/
  10.  
  11. struct  NewScreen  ns;
  12. struct  NewWindow  nw;
  13.  
  14. struct  Screen     *mandel_screen;
  15. struct  Window     *mandel_window;
  16.  
  17. struct  Menu qman, resolution, color, zoom;
  18.  
  19. /* Menu items for the above:  */
  20. struct MenuItem  restart, skew, quit;         /*  for the qman  menu       */
  21. struct MenuItem  interlace, smooth ;          /*  for the resolution menu  */
  22. struct MenuItem  blend, random, cycle, next;  /*  for the color menu       */ 
  23. struct MenuItem  select;                      /*  for the zoom  menu       */ 
  24.  
  25. USHORT default_flags;
  26.  
  27. struct IntuiText restart_text, skew_text, quit_text;
  28. struct IntuiText interlace_text, smooth_text;
  29. struct IntuiText blend_text, random_text, cycle_text, next_text, select_text;
  30.  
  31. struct TextAttr topaz_eight;
  32.  
  33. struct  RastPort   *rp;
  34. struct  ViewPort   *vp;
  35.  
  36. struct  GfxBase       *GfxBase;
  37. struct  IntuitionBase *IntuitionBase;
  38.  
  39. struct  IntuiMessage  *message;
  40.  
  41. void  ProcessMessage(), NextColor(), SelectZoom();
  42. void  SetUpMandelGraphics(), SetUpMandelMenus();
  43.  
  44. /*  The assembly routines: */
  45. extern void mandel(), msmooth();
  46.  
  47. /*  These guys are accessed by the assembly subroutines:  */
  48. int xptr, imagc, bp1, bp2, bp3, bp4, x_table[640], kflag;
  49.  
  50. int     x1,y1, x2,y2, x3,y3;
  51. int     i, x,y, cycle_colors, cycle_count, ilace, smooth_flag, vertical_res;
  52.  
  53. int     reds[14], greens[14], blues[14];
  54.  
  55. double  top, bottom, left, right, xincr, yincr, scale, left_x;
  56. BOOL    random_colors, new_region_selected, screen_changed, restart_selected;
  57.  
  58.